package model;

import java.awt.geom.Point2D;

public class PlayerInfo implements ctf.view.GameViewInterface.PlayerInfo {
	private final String name;
	private final double orientation;
	private final Point2D position;
	public PlayerInfo(String name, double orientation, Point2D position) {
		this.name = name;
		this.orientation = orientation;
		this.position = position;
	}
	@Override
	public String name() {
		return name;
	}

	@Override
	public double orientation() {
		return orientation;
	}
	@Override
	public Point2D position() {
		return this.position;
	}

}
